package com.mybatispuls.springboot.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mybatispuls.springboot.entity.EduBook;
import com.mybatispuls.springboot.entity.Excel.BookExcel;
import com.mybatispuls.springboot.entity.Vo.BookVo;
import com.mybatispuls.springboot.mapper.EduBookMapper;
import com.mybatispuls.springboot.service.EduBookService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 会员表 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2020-05-25
 */
@Service
public class EduBookServiceImpl extends ServiceImpl<EduBookMapper, EduBook> implements EduBookService {


    @Override
    public List<EduBook> shelves() {

        return baseMapper.shelves();
    }

    @Override
    public EduBook shelvesBook(String id) {
        return baseMapper.shelvesBook(id);
    }

    @Override
    public int upda(String id) {
        return baseMapper.upda(id);
    }
}
